/**
 * 描述: 推送消息路由
 * 作者: wz
 * 日期: 2024-01-30
*/

const express = require('express');
const router = express.Router();
const { body } = require('express-validator');
const service = require('../services/bookService');


// 推送消息路由
router.post('/getBookList', service.getBookList);
router.post('/getUserBookList', service.getUserBookList);
router.post('/getUserBookIds', service.getUserBookIds);

router.post('/addBook', service.addBook);
router.post('/editBook', service.editBook);
router.post('/deleteBook', service.deleteBook);
router.post('/importBook', service.importBook);
router.post('/uploadFile', service.uploadFile);

module.exports = router;

